/*tabwidget*/
$(function(){var s=null,Tabberx={settings:{tabHeaders:null,tabSections:null,currentIndex:null,speed:800,collection:null,i:null,j:null,select:null,},init:function(){s=this.settings;s.tabSections=$("div.widget1");$(s.tabSections[0]).slideDown(s.speed);$(s.tabSections[1]).slideUp(s.speed);$(s.tabSections[2]).slideUp(s.speed);$(s.tabSections[3]).slideUp(s.speed);this.getClickedTab()},getClickedTab:function(){s=this.settings;s.tabHeaders=$("#tab ul.tab-widget-menu a");s.select=$("ul.tab-widget-menu li:first");s.collection=$("#isitabnya div.widget1");s.select.addClass("selected");$(s.tabHeaders).click(function(){$("ul.tab-widget-menu li").removeClass("selected");$(this).parent("li").addClass("selected");s.currentIndex=$(this).parent().index();for(s.i=0,s.j=s.collection.length;s.i<s.j;s.i+=1){if(s.i!==s.currentIndex){$(s.tabSections[s.i]).slideUp(s.speed)}else{$(s.tabSections[s.i]).slideDown(s.speed)}}return false})},};Tabberx.init()});

/*navigation*/
    $('#nav li ul, #rcpnrck .isircpostnkmt').removeClass('hidden');
    $('#nav li').hoverTimeout(100, function() {
	$('ul', this).filter(':not(:animated)').slideDown(600, 'easeOutBounce');
    }, 500, function() {
        $('ul', this).slideUp(800, 'easeInExpo');
    });
$('ul.isinavnya').clone().appendTo('#mobinavnya');
$('.navixmobi').toggle(function() {
    $(this).addClass('active');
    $('#mobinavnya ul.isinavnya').slideDown();
}, function() {
    $(this).removeClass('active');
    $('#mobinavnya ul.isinavnya').slideUp();
});
$('.dgnsub > a').toggle(function() {
 $($(this).parent()).children('ul').slideDown();
}, function() {
  $($(this).parent()).children('ul').slideUp();
});
$('.clickx').toggle(function() {
$(this).parent('.cliknya').addClass('active');
 $($(this).parent(), this).children('.isircpostnkmt').slideDown(600, 'easeOutBounce');
}, function() {
$(this).parent('.cliknya').removeClass('active');
 $($(this).parent(), this).children('.isircpostnkmt').slideUp(800, 'easeInExpo');
});

$(function() {
$('.levcomt a').removeAttr('href').click(function() {
$('html, body').animate({scrollTop: $("#comment-editor").offset().top}, 1500);return false;
});});
$('.post a[href$=".jpg"], .post a[href$=".png"], .post a[href$=".gif"], .post a[href$=".bmp"]').attr('class','colorbox');
$(window).bind("load", function() {
$(".colorbox").colorbox({rel:'group1', opacity: 0.5, maxWidth: "95%", 
maxHeight: "95%", fixed:true, onLoad: function() {$('#cboxWrapper').css({
visibility: 'visible',opacity: 0,top: '-200px'}).animate({
opacity: 1,	top: 0}, {duration: 2000, easing: 'easeOutElastic' });}			  
});
setTimeout(function() {
$('#sidebar-wrapper').css({visibility: 'visible',position: 'relative',opacity: 0,top: '-500px'})
.animate({opacity: 1, top: 0}, {duration: 4000, easing: 'easeOutElastic'});	
}, 1000);
});

$(window).scroll(function(){if($(this).scrollTop()>100){$("#top").removeAttr("href");$("#top").stop().animate({bottom:"-3",right:"20"},{duration:600,queue:false})}else{$("#top").stop().animate({bottom:"-50",right:"20"},{duration:600,queue:false})}});$(function(){$("#top").click(function(){$("html, body").animate({scrollTop:0},"slow");return false})});
document.write('<script type="text/javascript" src="http://www.jokorowotlogorejo.com/feeds/posts/summary?redirect=false&max-results=8&alt=json-in-script&callback=recentpostjrtr"></'+'script>');
document.write('<script type="text/javascript" src="http://www.jokorowotlogorejo.com/feeds/posts/summary?redirect=false&max-results=25&alt=json-in-script&callback=getPostUrlsForComments"></'+'script>');
document.write('<script type="text/javascript" src="http://www.jokorowotlogorejo.com/feeds/comments/default?redirect=false&max-results=50&alt=json-in-script&callback=showRecentComments"></'+'script>');
$('#rckomtjrtr').append('<iframe class="notirc" src="http://mkr.googlecode.com/svn/HTML/noti-feed.html"></iframe>');